package com.practice.car.cardataapp.controller;

import com.practice.car.cardataapp.util.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * car-data-app project
 *
 * @author FlagDied
 * @date 2020/9/2
 */
@RestController
public class DataController {


	@GetMapping("/")
	public R index() {
		return R.create()
				.put("username","zhangmingxing")
				.put("passwd","yasd");
	}

}
